<?php
/**
 * Created by TimoPHP
 * User: tommy
 */

namespace app\web\controller;


use app\web\controller\base\Base;

class User extends Base
{
    public function check()
    {
        $user = [
            'id' => 100,
            'nickname' => 'tommy',
            'avatar' => 'http://i.timophp.com/100.jpg'
        ];

        return static::result(0, 'ok', $user);
    }
}
